package ooday01;

public class Student01 {
    String name1;
    String gender;
    int age1;
    String classNum;

    Student01(){

    }
    Student01(String name1,String gender,int age1,String classNum){
        this.name1=name1;
        this.gender=gender;
        this.age1=age1;
        this.classNum=classNum;
    }
    void message(){
        System.out.println(name1+",性别"+gender+",今年"+age1+"岁，在"+classNum+"就读");
    }
}
